package com.hns.can.mainte.entity;/**
 * Created by zhangyu on 2017/4/20.
 */

import javax.persistence.*;
import java.sql.Time;
import java.util.Date;

/**
 * @author zhangy
 * @version Revision 2.0.0
 * @email: zhangy2222z@sina.cn
 * @create 2017-04-20 17:20
 **/

@Entity
@Table(name = "T_APP_CAR_MAINTEN_CONTENT")
public class AppCarMaintenContentEntity {
    private String id;
    private String corpId;
    private String partCode;
    private String maintenContent;
    private String remark;
    private Date crtTime;
    private String crtUser;
    private Date updateTime;
    private String updateUser;
    @Transient
    private String corpName;

    @Id
    @Column(name = "ID")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Column(name = "CORP_ID")
    public String getCorpId() {
        return corpId;
    }

    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }

    @Column(name = "PART_CODE")
    public String getPartCode() {
        return partCode;
    }

    public void setPartCode(String partCode) {
        this.partCode = partCode;
    }

    @Column(name = "MAINTEN_CONTENT")
    public String getMaintenContent() {
        return maintenContent;
    }

    public void setMaintenContent(String maintenContent) {
        this.maintenContent = maintenContent;
    }

    @Column(name = "REMARK")
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Basic
    @Column(name = "CRT_TIME")
    public Date getCrtTime() {
        return crtTime;
    }

    public void setCrtTime(Date crtTime) {
        this.crtTime = crtTime;
    }

    @Column(name = "CRT_USER")
    public String getCrtUser() {
        return crtUser;
    }

    public void setCrtUser(String crtUser) {
        this.crtUser = crtUser;
    }

    @Column(name = "UPDATE_TIME")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Column(name = "UPDATE_USER")
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }
}
